using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace HKB.Data.Dal
{
	[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), HelpKeyword("vs.data.DataSet"), DesignerCategory("code"), ToolboxItem(true), System.Xml.Serialization.XmlRoot("S_VIP"), System.Xml.Serialization.XmlSchemaProvider("GetTypedDataSetSchema")]
	[System.Serializable]
	public class S_VIP : DataSet
	{
		public delegate void HLShop_VIPRowChangeEventHandler(object sender, S_VIP.HLShop_VIPRowChangeEvent e);
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), System.Xml.Serialization.XmlSchemaProvider("GetTypedTableSchema")]
		[System.Serializable]
		public class HLShop_VIPDataTable : DataTable, System.Collections.IEnumerable
		{
			private DataColumn columnSalerID;
			private DataColumn columnUserID;
			private DataColumn columnPresentPoint;
			private DataColumn columnPresentExp;
			private DataColumn columnVIPLevel;
			private DataColumn columnVIPID;
			private DataColumn columnTransCount;
			private DataColumn columnTransMoney;
			private DataColumn columnCardID;
			public event S_VIP.HLShop_VIPRowChangeEventHandler HLShop_VIPRowChanging;
			public event S_VIP.HLShop_VIPRowChangeEventHandler HLShop_VIPRowChanged;
			public event S_VIP.HLShop_VIPRowChangeEventHandler HLShop_VIPRowDeleting;
			public event S_VIP.HLShop_VIPRowChangeEventHandler HLShop_VIPRowDeleted;
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn SalerIDColumn
			{
				get
				{
					return this.columnSalerID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn UserIDColumn
			{
				get
				{
					return this.columnUserID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn PresentPointColumn
			{
				get
				{
					return this.columnPresentPoint;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn PresentExpColumn
			{
				get
				{
					return this.columnPresentExp;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn VIPLevelColumn
			{
				get
				{
					return this.columnVIPLevel;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn VIPIDColumn
			{
				get
				{
					return this.columnVIPID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn TransCountColumn
			{
				get
				{
					return this.columnTransCount;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn TransMoneyColumn
			{
				get
				{
					return this.columnTransMoney;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CardIDColumn
			{
				get
				{
					return this.columnCardID;
				}
			}
			[Browsable(false), System.Diagnostics.DebuggerNonUserCode]
			public int Count
			{
				get
				{
					return base.Rows.Count;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_VIP.HLShop_VIPRow this[int index]
			{
				get
				{
					return (S_VIP.HLShop_VIPRow)base.Rows[index];
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HLShop_VIPDataTable()
			{
				base.TableName = "HLShop_VIP";
				this.BeginInit();
				this.InitClass();
				this.EndInit();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HLShop_VIPDataTable(DataTable table)
			{
				base.TableName = table.TableName;
				if (table.CaseSensitive != table.DataSet.CaseSensitive)
				{
					base.CaseSensitive = table.CaseSensitive;
				}
				if (table.Locale.ToString() != table.DataSet.Locale.ToString())
				{
					base.Locale = table.Locale;
				}
				if (table.Namespace != table.DataSet.Namespace)
				{
					base.Namespace = table.Namespace;
				}
				base.Prefix = table.Prefix;
				base.MinimumCapacity = table.MinimumCapacity;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected HLShop_VIPDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
			{
				this.InitVars();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void AddHLShop_VIPRow(S_VIP.HLShop_VIPRow row)
			{
				base.Rows.Add(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_VIP.HLShop_VIPRow AddHLShop_VIPRow(int SalerID, int UserID, int PresentPoint, int PresentExp, string VIPLevel, int TransCount, decimal TransMoney, int CardID)
			{
				S_VIP.HLShop_VIPRow hLShop_VIPRow = (S_VIP.HLShop_VIPRow)base.NewRow();
				hLShop_VIPRow.ItemArray = new object[]
				{
					SalerID,
					UserID,
					PresentPoint,
					PresentExp,
					VIPLevel,
					null,
					TransCount,
					TransMoney,
					CardID
				};
				base.Rows.Add(hLShop_VIPRow);
				return hLShop_VIPRow;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_VIP.HLShop_VIPRow FindByVIPID(int VIPID)
			{
				return (S_VIP.HLShop_VIPRow)base.Rows.Find(new object[]
				{
					VIPID
				});
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public virtual System.Collections.IEnumerator GetEnumerator()
			{
				return base.Rows.GetEnumerator();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public override DataTable Clone()
			{
				S_VIP.HLShop_VIPDataTable hLShop_VIPDataTable = (S_VIP.HLShop_VIPDataTable)base.Clone();
				hLShop_VIPDataTable.InitVars();
				return hLShop_VIPDataTable;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataTable CreateInstance()
			{
				return new S_VIP.HLShop_VIPDataTable();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal void InitVars()
			{
				this.columnSalerID = base.Columns["SalerID"];
				this.columnUserID = base.Columns["UserID"];
				this.columnPresentPoint = base.Columns["PresentPoint"];
				this.columnPresentExp = base.Columns["PresentExp"];
				this.columnVIPLevel = base.Columns["VIPLevel"];
				this.columnVIPID = base.Columns["VIPID"];
				this.columnTransCount = base.Columns["TransCount"];
				this.columnTransMoney = base.Columns["TransMoney"];
				this.columnCardID = base.Columns["CardID"];
			}
			[System.Diagnostics.DebuggerNonUserCode]
			private void InitClass()
			{
				this.columnSalerID = new DataColumn("SalerID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnSalerID);
				this.columnUserID = new DataColumn("UserID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnUserID);
				this.columnPresentPoint = new DataColumn("PresentPoint", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnPresentPoint);
				this.columnPresentExp = new DataColumn("PresentExp", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnPresentExp);
				this.columnVIPLevel = new DataColumn("VIPLevel", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnVIPLevel);
				this.columnVIPID = new DataColumn("VIPID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnVIPID);
				this.columnTransCount = new DataColumn("TransCount", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnTransCount);
				this.columnTransMoney = new DataColumn("TransMoney", typeof(decimal), null, MappingType.Element);
				base.Columns.Add(this.columnTransMoney);
				this.columnCardID = new DataColumn("CardID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnCardID);
				base.Constraints.Add(new UniqueConstraint("Constraint2", new DataColumn[]
				{
					this.columnVIPID
				}, true));
				this.columnSalerID.AllowDBNull = false;
				this.columnUserID.AllowDBNull = false;
				this.columnVIPLevel.MaxLength = 10;
				this.columnVIPID.AutoIncrement = true;
				this.columnVIPID.AllowDBNull = false;
				this.columnVIPID.ReadOnly = true;
				this.columnVIPID.Unique = true;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_VIP.HLShop_VIPRow NewHLShop_VIPRow()
			{
				return (S_VIP.HLShop_VIPRow)base.NewRow();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
			{
				return new S_VIP.HLShop_VIPRow(builder);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override System.Type GetRowType()
			{
				return typeof(S_VIP.HLShop_VIPRow);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanged(DataRowChangeEventArgs e)
			{
				base.OnRowChanged(e);
				if (this.HLShop_VIPRowChanged != null)
				{
					this.HLShop_VIPRowChanged(this, new S_VIP.HLShop_VIPRowChangeEvent((S_VIP.HLShop_VIPRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanging(DataRowChangeEventArgs e)
			{
				base.OnRowChanging(e);
				if (this.HLShop_VIPRowChanging != null)
				{
					this.HLShop_VIPRowChanging(this, new S_VIP.HLShop_VIPRowChangeEvent((S_VIP.HLShop_VIPRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleted(DataRowChangeEventArgs e)
			{
				base.OnRowDeleted(e);
				if (this.HLShop_VIPRowDeleted != null)
				{
					this.HLShop_VIPRowDeleted(this, new S_VIP.HLShop_VIPRowChangeEvent((S_VIP.HLShop_VIPRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleting(DataRowChangeEventArgs e)
			{
				base.OnRowDeleting(e);
				if (this.HLShop_VIPRowDeleting != null)
				{
					this.HLShop_VIPRowDeleting(this, new S_VIP.HLShop_VIPRowChangeEvent((S_VIP.HLShop_VIPRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void RemoveHLShop_VIPRow(S_VIP.HLShop_VIPRow row)
			{
				base.Rows.Remove(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs)
			{
				System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
				System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
				S_VIP s_VIP = new S_VIP();
				xs.Add(s_VIP.GetSchemaSerializable());
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
				xmlSchemaAny.MinOccurs = 0m;
				xmlSchemaAny.MaxOccurs = 79228162514264337593543950335m;
				xmlSchemaAny.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny);
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny2 = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
				xmlSchemaAny2.MinOccurs = 1m;
				xmlSchemaAny2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny2);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute.Name = "namespace";
				xmlSchemaAttribute.FixedValue = s_VIP.Namespace;
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute2 = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute2.Name = "tableTypeName";
				xmlSchemaAttribute2.FixedValue = "HLShop_VIPDataTable";
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
				xmlSchemaComplexType.Particle = xmlSchemaSequence;
				return xmlSchemaComplexType;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HLShop_VIPRow : DataRow
		{
			private S_VIP.HLShop_VIPDataTable tableHLShop_VIP;
			[System.Diagnostics.DebuggerNonUserCode]
			public int SalerID
			{
				get
				{
					return (int)base[this.tableHLShop_VIP.SalerIDColumn];
				}
				set
				{
					base[this.tableHLShop_VIP.SalerIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int UserID
			{
				get
				{
					return (int)base[this.tableHLShop_VIP.UserIDColumn];
				}
				set
				{
					base[this.tableHLShop_VIP.UserIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int PresentPoint
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_VIP.PresentPointColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_VIP”中列“PresentPoint”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_VIP.PresentPointColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int PresentExp
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_VIP.PresentExpColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_VIP”中列“PresentExp”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_VIP.PresentExpColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string VIPLevel
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_VIP.VIPLevelColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_VIP”中列“VIPLevel”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_VIP.VIPLevelColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int VIPID
			{
				get
				{
					return (int)base[this.tableHLShop_VIP.VIPIDColumn];
				}
				set
				{
					base[this.tableHLShop_VIP.VIPIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int TransCount
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_VIP.TransCountColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_VIP”中列“TransCount”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_VIP.TransCountColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public decimal TransMoney
			{
				get
				{
					decimal result;
					try
					{
						result = (decimal)base[this.tableHLShop_VIP.TransMoneyColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_VIP”中列“TransMoney”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_VIP.TransMoneyColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int CardID
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_VIP.CardIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_VIP”中列“CardID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_VIP.CardIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HLShop_VIPRow(DataRowBuilder rb) : base(rb)
			{
				this.tableHLShop_VIP = (S_VIP.HLShop_VIPDataTable)base.Table;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsPresentPointNull()
			{
				return base.IsNull(this.tableHLShop_VIP.PresentPointColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetPresentPointNull()
			{
				base[this.tableHLShop_VIP.PresentPointColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsPresentExpNull()
			{
				return base.IsNull(this.tableHLShop_VIP.PresentExpColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetPresentExpNull()
			{
				base[this.tableHLShop_VIP.PresentExpColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsVIPLevelNull()
			{
				return base.IsNull(this.tableHLShop_VIP.VIPLevelColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetVIPLevelNull()
			{
				base[this.tableHLShop_VIP.VIPLevelColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsTransCountNull()
			{
				return base.IsNull(this.tableHLShop_VIP.TransCountColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetTransCountNull()
			{
				base[this.tableHLShop_VIP.TransCountColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsTransMoneyNull()
			{
				return base.IsNull(this.tableHLShop_VIP.TransMoneyColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetTransMoneyNull()
			{
				base[this.tableHLShop_VIP.TransMoneyColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCardIDNull()
			{
				return base.IsNull(this.tableHLShop_VIP.CardIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCardIDNull()
			{
				base[this.tableHLShop_VIP.CardIDColumn] = System.Convert.DBNull;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HLShop_VIPRowChangeEvent : System.EventArgs
		{
			private S_VIP.HLShop_VIPRow eventRow;
			private DataRowAction eventAction;
			[System.Diagnostics.DebuggerNonUserCode]
			public S_VIP.HLShop_VIPRow Row
			{
				get
				{
					return this.eventRow;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataRowAction Action
			{
				get
				{
					return this.eventAction;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HLShop_VIPRowChangeEvent(S_VIP.HLShop_VIPRow row, DataRowAction action)
			{
				this.eventRow = row;
				this.eventAction = action;
			}
		}
		private S_VIP.HLShop_VIPDataTable tableHLShop_VIP;
		private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
		[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), System.Diagnostics.DebuggerNonUserCode]
		public S_VIP.HLShop_VIPDataTable HLShop_VIP
		{
			get
			{
				return this.tableHLShop_VIP;
			}
		}
		[Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), System.Diagnostics.DebuggerNonUserCode]
		public override SchemaSerializationMode SchemaSerializationMode
		{
			get
			{
				return this._schemaSerializationMode;
			}
			set
			{
				this._schemaSerializationMode = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataTableCollection Tables
		{
			get
			{
				return base.Tables;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataRelationCollection Relations
		{
			get
			{
				return base.Relations;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public S_VIP()
		{
			base.BeginInit();
			this.InitClass();
			CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
			base.Tables.CollectionChanged += value;
			base.Relations.CollectionChanged += value;
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected S_VIP(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context, false)
		{
			if (base.IsBinarySerialized(info, context))
			{
				this.InitVars(false);
				CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
				this.Tables.CollectionChanged += value;
				this.Relations.CollectionChanged += value;
			}
			else
			{
				string s = (string)info.GetValue("XmlSchema", typeof(string));
				if (base.DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
				{
					DataSet dataSet = new DataSet();
					dataSet.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
					if (dataSet.Tables["HLShop_VIP"] != null)
					{
						base.Tables.Add(new S_VIP.HLShop_VIPDataTable(dataSet.Tables["HLShop_VIP"]));
					}
					base.DataSetName = dataSet.DataSetName;
					base.Prefix = dataSet.Prefix;
					base.Namespace = dataSet.Namespace;
					base.Locale = dataSet.Locale;
					base.CaseSensitive = dataSet.CaseSensitive;
					base.EnforceConstraints = dataSet.EnforceConstraints;
					base.Merge(dataSet, false, MissingSchemaAction.Add);
					this.InitVars();
				}
				else
				{
					base.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
				}
				base.GetSerializationData(info, context);
				CollectionChangeEventHandler value2 = new CollectionChangeEventHandler(this.SchemaChanged);
				base.Tables.CollectionChanged += value2;
				this.Relations.CollectionChanged += value2;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void InitializeDerivedDataSet()
		{
			base.BeginInit();
			this.InitClass();
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public override DataSet Clone()
		{
			S_VIP s_VIP = (S_VIP)base.Clone();
			s_VIP.InitVars();
			s_VIP.SchemaSerializationMode = this.SchemaSerializationMode;
			return s_VIP;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeTables()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeRelations()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void ReadXmlSerializable(System.Xml.XmlReader reader)
		{
			if (base.DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
			{
				this.Reset();
				DataSet dataSet = new DataSet();
				dataSet.ReadXml(reader);
				if (dataSet.Tables["HLShop_VIP"] != null)
				{
					base.Tables.Add(new S_VIP.HLShop_VIPDataTable(dataSet.Tables["HLShop_VIP"]));
				}
				base.DataSetName = dataSet.DataSetName;
				base.Prefix = dataSet.Prefix;
				base.Namespace = dataSet.Namespace;
				base.Locale = dataSet.Locale;
				base.CaseSensitive = dataSet.CaseSensitive;
				base.EnforceConstraints = dataSet.EnforceConstraints;
				base.Merge(dataSet, false, MissingSchemaAction.Add);
				this.InitVars();
			}
			else
			{
				base.ReadXml(reader);
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override System.Xml.Schema.XmlSchema GetSchemaSerializable()
		{
			System.IO.MemoryStream memoryStream = new System.IO.MemoryStream();
			base.WriteXmlSchema(new System.Xml.XmlTextWriter(memoryStream, null));
			memoryStream.Position = 0L;
			return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(memoryStream), null);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars()
		{
			this.InitVars(true);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars(bool initTable)
		{
			this.tableHLShop_VIP = (S_VIP.HLShop_VIPDataTable)base.Tables["HLShop_VIP"];
			if (initTable)
			{
				if (this.tableHLShop_VIP != null)
				{
					this.tableHLShop_VIP.InitVars();
				}
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void InitClass()
		{
			base.DataSetName = "S_VIP";
			base.Prefix = "";
			base.Namespace = "http://tempuri.org/S_VIP.xsd";
			base.EnforceConstraints = true;
			this.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
			this.tableHLShop_VIP = new S_VIP.HLShop_VIPDataTable();
			base.Tables.Add(this.tableHLShop_VIP);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private bool ShouldSerializeHLShop_VIP()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void SchemaChanged(object sender, CollectionChangeEventArgs e)
		{
			if (e.Action == CollectionChangeAction.Remove)
			{
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs)
		{
			S_VIP s_VIP = new S_VIP();
			System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
			System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
			xs.Add(s_VIP.GetSchemaSerializable());
			System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
			xmlSchemaAny.Namespace = s_VIP.Namespace;
			xmlSchemaSequence.Items.Add(xmlSchemaAny);
			xmlSchemaComplexType.Particle = xmlSchemaSequence;
			return xmlSchemaComplexType;
		}
	}
}
